requestPermissions
abstract fun requestPermissions(@NonNull activity: Activity, @NonNull permissions: Array<String>, @IntRange(from = 0) requestCode: Int): Boolean(source)
Determines whether the delegate should handle requestPermissions, and request permissions if applicable. If this method returns true, it means that permission request is successfully handled by the delegate, and platform should not perform any further requests for permission.
Return
Whether the delegate has handled the permission request.
Parameters
activity
The target activity.
permissions
The requested permissions. Must be non-null and not empty.
requestCode
Application specific request code to match with a result reported to onRequestPermissionsResult. Should be >= 0.